package com.shell.scheduler.executor;

import com.shell.scheduler.Executor;
import com.shell.scheduler.job.service.ScheJobService;
import java.io.PrintStream;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;

public class TestJobExecutor implements Executor {
	private static final long serialVersionUID = -4075367249586509028L;
	@Autowired
	ScheJobService scheJobService;

	public void execute(Map<String, String> context) {
		System.out.println(getClass().getName() + " is executing...");
		int i = this.scheJobService.findEnabledJobs().size();
		System.out.println("scheJobService.findEnabledJobs()=" + i);
	}
}
